summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-11-25 16:17:18 +0100
committerGitHub <noreply@github.com>2023-11-25 16:17:18 +0100
commit090ea0281c34bd8d4932c9dc7ef24da5e9e35759 (patch)
tree913e5fb55fe6d540f0bd774db92efb22e83d66bf
parentMerge pull request #12151 from german77/no-crash (diff)
parentrenderer_vulkan: exclude steam deck oled from force max clock setting (diff)
downloadyuzu-090ea0281c34bd8d4932c9dc7ef24da5e9e35759.tar
yuzu-090ea0281c34bd8d4932c9dc7ef24da5e9e35759.tar.gz
yuzu-090ea0281c34bd8d4932c9dc7ef24da5e9e35759.tar.bz2
yuzu-090ea0281c34bd8d4932c9dc7ef24da5e9e35759.tar.lz
yuzu-090ea0281c34bd8d4932c9dc7ef24da5e9e35759.tar.xz
yuzu-090ea0281c34bd8d4932c9dc7ef24da5e9e35759.tar.zst
yuzu-090ea0281c34bd8d4932c9dc7ef24da5e9e35759.zip
-rw-r--r--src/video_core/vulkan_common/vulkan_device.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp
index 6900b8ffa..fde36a49c 100644
--- a/src/video_core/vulkan_common/vulkan_device.cpp
+++ b/src/video_core/vulkan_common/vulkan_device.cpp
@@ -869,7 +869,8 @@ bool Device::ShouldBoostClocks() const {
driver_id == VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA ||
driver_id == VK_DRIVER_ID_QUALCOMM_PROPRIETARY || driver_id == VK_DRIVER_ID_MESA_TURNIP;
- const bool is_steam_deck = vendor_id == 0x1002 && device_id == 0x163F;
+ const bool is_steam_deck = (vendor_id == 0x1002 && device_id == 0x163F) ||
+ (vendor_id == 0x1002 && device_id == 0x1435);
const bool is_debugging = this->HasDebuggingToolAttached();